package com.bodu.entity;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 模板需要使用的属性
 */
@Data
@Component
@ToString
public class TemplateEntity {
    @Value("${project}")
    private String project;

    @Value("${project.controller}")
    private String controllerPackage;

    @Value("${project.controller.file.path}")
    private String controllerFilePath;

    @Value("${project.service}")
    private String servicePackage;

    @Value("${project.service.file.path}")
    private String serviceFilePath;

    @Value("${project.service.impl}")
    private String serviceImplPackage;

    @Value("${project.service.impl.file.path}")
    private String serviceImplFilePath;

    @Value("${project.dao}")
    private String daoPackage;

    @Value("${project.dao.file.path}")
    private String daoFilePath;

    @Value("${project.dao.impl}")
    private String daoXmlPackage;

    @Value("${project.dao.impl.file.path}")
    private String daoXmlFilePath;

    @Value("${project.serResult.package}")
    private String servResultPackage;
}
